package org.jiangy.usercenter.repository;

import org.jiangy.usercenter.entity.Reseller;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ResellerRepository extends JpaRepository<Reseller, Long> {
    Reseller save(Reseller reseller);

    Optional<Reseller> findById(Long id);
}
